Skip to main content

TRREST_ALLCOMPONENTS

This project has Rest trigger and all Components.

Sr. NoService NameDescriptionDetails
1.globalErrHappyPathGlobal error with API_response msg. Response is 200 ok. Create rest api with DB select (wrong querry) that throws error.
2.globalErrUnHappyPathGlobal error with throw error msg. Status code should should be 500. Create rest api with DB select (wrong querry) that throws error.
3.stepErrorHappyPathStep error with API_response msg. Response is 200 ok. Create rest api with DB select (wrong querry) that throws error.
4.stepErrUnHappyPathStep error with throw error msg. Status code is 400. Create rest api with DB select (wrong querry) that throws error.
5.stepErrorContinueHappyPathStep error with continue checked. Where error gets logged and then move further with API_response. Response is 200 ok. Create rest api with DB select (wrong querry) that throws error.
6.stepErrContinueUnHappyPathStep error with continue checked. Throw the error in step exception. The flow should not move further with API_response msg. No global error componnet configured. Create rest api with DB select (wrong querry) that throws error.
7.stepErrContinueUnHappyPathWithGlobalStep error with continue checked. Throw the error in step exception. The flow should not move further Global error componnet configured with API_response message. Response should be 200 and global api_response message should be shown. Create rest api with DB select (wrong querry) that throws error.
8.condIfHappyPathIF condition true,then call subflow with API_repsonse.Create rest api with compulsory request params.
9.condIfUnHappyPathIF condition is true, call subflow with API_repsonse. This throw error . Create rest api with compulsory request params key is not passed
10.condIfAndHappyPathIF-AND condition true(contains and not null), call subflow with API_repsonse. Create rest api with compulsory request params
11.condIfAndUnHappyPathIF-AND condition, unsatisfied Second condition. Create rest api with 2 compulsory request params
12.condIfOrHappyPathIF-OR true (active or deactive), call subflow with API_repsonse. Create rest api with compulsory request params 'status'
13.condIfOrUnHappyPathIF-OR condition unsatisfied then call subflow with API_repsonse. Create rest api with 2 compulsory request params
14.condIfElseHappyPathIF condition unsatisfied, ELSE call with API_repsonse saying. Create rest api with 2 compulsory request params
15.loopHappyPathCreate rest api by passing Array of customers to be updated with new filed status . Loop over the customers and respond back the updated array
[
{
"Id": 1,
"Name": "Rajat",
"Address": "Amt"
},
{
"Id": 2,
"Name": "Aniket",
"Address": "Nashik"
}
]
16.condLoopUnHappyPathCreate rest api by passing json of customers to be updated with new filed status . Loop over the customers that will throw error
[
{
"Id": 1,
"Name": "Rajat",
"Address": "Amt"
},
{
"Id": 2,
"Name": "Aniket",
"Address": "Nashik"
}
]